Error when compiling a WinForms project that uses SubSonic library

Posted by Mike Devenney on Stack Overflow See other posts from Stack Overflow or by Mike Devenney
Published on 2010-05-18T14:44:56Z Indexed on 2010/05/18 14:51 UTC
Read the original article Hit count: 316

Filed under:
|
|

The code generation is working but I get the following errors when I try to build the project:

Error 4 Source file '...Project Path...\Structs.cs' could not be opened ('Unspecified error ') PPSGenerator Error 5 Source file '...Project Path...\Context.cs' could not be opened ('Unspecified error ') PPSGenerator Error 6 Source file '...Project Path...\ActiveRecord.cs' could not be opened ('Unspecified error ') PPSGenerator Error 7 Source file '...Project Path...\StoredProcedures.cs' could not be opened ('Unspecified error ') PPSGenerator

I'm using VS2010 on a Windows 7 64 bit machine. Project is targeting Framework 3.5... any ideas?

Also noticed the following warnings, but not sure that these are as important:

Warning 1 The C# 2.0 and C# 3.5 compilers are no longer supported. Templates will always be compiled with the version 4 compiler instead of 'v3.5' as specified. ...ProjectPath...\Structs.tt 1 4

Warning 2 Multiple template directives were found in the template. All but the first one will be ignored. Multiple parameters to the template directive should be specified within one template directive. ...ProjectPath...\Settings.ttinclude 1 4

Warning 3 Compiling transformation: The variable 'parameters' is assigned but its value is never used ...ProjectPath...\SQLServer.ttinclude 92 15

Thanks! Mike D

© Stack Overflow or respective owner

Related posts about subsonic3

Related posts about c#