You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for creating and sharing this package.
I want to try and use the package in our test projects. When adding the package, my test project is not able to build anymore. The following error occurs:
13>MockMe.targets(24,5): Error MSB3073 : The command "dotnet --roll-forward Major "C:\Users\donni\.nuget\packages\mockme\1.0.2\build\..\lib\net6.0\MockMe.PostBuild.dll" "C:\Repos\Test\Backend\Domain.Tests\bin\Debug\net8.0\Praktijkdata.Domain.Tests.dll"" exited with code -532462766
This error occurs because a FileNotFound exception occurs. In my solution the projectname and assemblyname are not the same. The PostBuildEvent references the ProjectName variable and fails to find the assembly. E.g. my project name is 'Domain.Tests' and the generated assembly is 'CompanyX.Domain.Test.dll'.
Hello,
First of all thanks for creating and sharing this package.
I want to try and use the package in our test projects. When adding the package, my test project is not able to build anymore. The following error occurs:
This error occurs because a FileNotFound exception occurs. In my solution the projectname and assemblyname are not the same. The PostBuildEvent references the ProjectName variable and fails to find the assembly. E.g. my project name is 'Domain.Tests' and the generated assembly is 'CompanyX.Domain.Test.dll'.
Using the $(AssemblyName) variable might fix this issue.
The text was updated successfully, but these errors were encountered: