Error with MSBuild
edevis
Posts: 4 Bronze 1
Hello,
after the update to version 6.11.1.354 I am getting the following error when compiling any project containing an MSBuild SmartAssembly configuration:
error : Die Datei oder Assembly "SmartAssembly.Shared, Version=6.11.1.354, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
warning : Die Datei oder Assembly "SmartAssembly.Shared, Version=6.11.1.354, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
warning : bei SmartAssembly.MSBuild.Tasks.Build.get_ToolName()
warning : bei SmartAssembly.MSBuild.Tasks.Build.Execute()
... meaining file or dependency not found. Before the update it worked perfectly.
I have rebooted, but no change.
The .csproj entries are the following:
<UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" />
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release_Obfuscated' ">
<SmartAssembly.MSBuild.Tasks.Build ProjectFile="Common.saproj" OverwriteAssembly="True" Input=".inRelease_ObfuscatedCommon.dll" />
</Target>
Kind Regards
after the update to version 6.11.1.354 I am getting the following error when compiling any project containing an MSBuild SmartAssembly configuration:
error : Die Datei oder Assembly "SmartAssembly.Shared, Version=6.11.1.354, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
warning : Die Datei oder Assembly "SmartAssembly.Shared, Version=6.11.1.354, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
warning : bei SmartAssembly.MSBuild.Tasks.Build.get_ToolName()
warning : bei SmartAssembly.MSBuild.Tasks.Build.Execute()
... meaining file or dependency not found. Before the update it worked perfectly.
I have rebooted, but no change.
The .csproj entries are the following:
<UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" />
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release_Obfuscated' ">
<SmartAssembly.MSBuild.Tasks.Build ProjectFile="Common.saproj" OverwriteAssembly="True" Input=".inRelease_ObfuscatedCommon.dll" />
</Target>
Kind Regards
Comments
I've sent you a link to a private build, could you please retest this behaviour and then reply to the ticket?
I have installed the new version and it worked directly without any problems.
Thank you for your quick support. We appreciate it.
Kind Regards
Jean-Philippe
I have also installed 6.11 and I am getting the exact same error with MSBuild. Could you send me the corrected version as well please?
Regards
Chris
This fix has been incorporated into the EAP installers, which you can get from here: http://www.red-gate.com/blog/net-profil ... ss-program. These expire after two weeks, but I'm re-releasing them as they do, so you should always find an installer that works for you. We're keeping the profilers in Early Access until Microsoft finalise the next release of Visual Studio 2017, which shouldn't be too long now.
Let me know if you continue to have issues and I can investigate for you.
The EAP link that you have suggested appears to be for the profilers and ANTS software. I cannot find the SmartAssembly EAP.
Also if it expires after 2 weeks, what happens if we are not running VS 2017? Do we need to remain on the old version of SA or will there be a new non-EAP release that will support both 2015 and 2017?
Sorry for the confusion
No the confusion is all my end, the EAP is for the Profilers sorry, I'd gotten mixed up. Lets put it down to it being early Monday morning...
The fixes are being rolled into 6.11.1.361, which should be available tomorrow. I'll update this post when it is.
Rob