I have one Visual Studio Solution (sln) having around 15 projects.
- Some of them are class libraries (.csproj)
- Some of them are website projects (.csproj)
- Some of them are websites (no .csproj) files
When I build the solution using Visual Studio, it all compiles and builds fine. But when I execute MSBuild from command line it fails for the websites having NO csproj files (i.e., Type 3 projects). I receive following error:
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'ChilkatDotNet45' or one of its dependencies. An attempt was made to load a program with an incorrect format. [C:\Users\XXXXXX\Sources\VSTS\Application\XXXXXXX\XXXXXXXScheduler.metaproj]
Could anyone please suggest what could be the reason and how to fix this issue?