nandotech / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Building fails when using Command Prompt for VS 2013 #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Clone the repo
2. Open the Developer Command Prompt for VS 2013
3. Change to clone directory
4. Run build.cmd

What is the expected output?

Expect the build to succeed.

What do you see instead?

Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.

C:\ELMAH\.nuget\nuget.targets(68,9): error MSB4175: The task factory 
"CodeTaskFactory" could not be loaded from the assembly 
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12.0.dll".
 Could not load file or assembly 
'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12
.0.dll' or one of its dependencies. The system cannot find the file specified. 
[C:\ELMAH\src\Elmah\Elmah.csproj]
C:\ELMAH\.nuget\nuget.targets(68,9): error MSB4175: The task factory 
"CodeTaskFactory" could not be loaded from the assembly 
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12.0.dll".
 Could not load file or assembly 
'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12
.0.dll' or one of its dependencies. The system cannot find the file specified. 
[C:\ELMAH\src\Elmah\Elmah.AspNet.csproj]
C:\ELMAH\.nuget\nuget.targets(68,9): error MSB4175: The task factory 
"CodeTaskFactory" could not be loaded from the assembly 
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12.0.dll".
 Could not load file or assembly 
'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12
.0.dll' or one of its dependencies. The system cannot find the file specified. 
[C:\ELMAH\src\Elmah.Oracle\Elmah.Oracle.csproj]
C:\ELMAH\.nuget\nuget.targets(68,9): error MSB4175: The task factory 
"CodeTaskFactory" could not be loaded from the assembly 
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12.0.dll".
 Could not load file or assembly 
'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12
.0.dll' or one of its dependencies. The system cannot find the file specified. 
[C:\ELMAH\src\Elmah.SqlServerCompact\Elmah.SqlServerCompact.csproj]
C:\ELMAH\.nuget\nuget.targets(68,9): error MSB4175: The task factory 
"CodeTaskFactory" could not be loaded from the assembly 
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12.0.dll".
 Could not load file or assembly 
'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v12
.0.dll' or one of its dependencies. The system cannot find the file specified. 
[C:\ELMAH\src\Elmah.SQLite\Elmah.SQLite.csproj]

What version of the product are you using?

Latest changeset was revision a435725ba65b at time of reporting.

On what operating system?

- Windows 8.1
- Visual Studio 2012 & 2013 installed

Additional information:

Build works when trying the same starting Developer Command Prompt for VS 2012 
or Command Prompt.

Original issue reported on code.google.com by azizatif on 27 Feb 2015 at 5:50

Attachments:

GoogleCodeExporter commented 8 years ago
May be related to:
https://nuget.codeplex.com/workitem/3886

Original comment by azizatif on 27 Feb 2015 at 5:52

GoogleCodeExporter commented 8 years ago
This issue was closed by revision fbc19da53512

Original comment by azizatif on 4 Mar 2015 at 7:21