I have installed build tools latest version on my windows server.
I am running these commands:
"c:\nuget.exe" restore c:\crm
<-- Success
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe" /t:Rebuild /P:DeployOnBuild=true /p:PublishProfile="C:\Crm\Crm.React\Properties\PublishProfiles\FolderProfile.pubxml" "C:\Crm\Crm.sln"
I am getting many errors of the following:
error CS0246: The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?)
I tried to reference to newest NuGet package, and its not helping:
Microsoft.VisualStudio.QualityTools.UnitTestFramework.Updated
still get the same error.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<PublishProvider>FileSystem</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>C:\publish\crm\Crm.React</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles>
</PropertyGroup>
</Project>
Thanks
Aucun commentaire:
Enregistrer un commentaire