Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GitHub Complie error

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
lee6800
318 Views, 4 Replies

GitHub Complie error

Hello,

 

I have used Nice3Point template to setup a test project and all works perfectly fine locally.

I can compile, batch compile for multiple versions and create an installer without any issue.

But when I try to test it on GitHub, I get this error and not sure what I am doing wrong?

Could someone help me understand this issue please? 

Compile
  16:36:25 [INF] > "C:\Program Files\dotnet\dotnet.exe" build --configuration Installer --verbosity minimal /property:Version=2.0.0
  Error: C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
  16:36:26 [ERR] C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
  16:36:27 [DBG] 
  16:36:27 [DBG] Build FAILED.
  16:36:27 [DBG] 
  Error: C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
  16:36:27 [ERR] C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
  16:36:27 [DBG]     0 Warning(s)
  16:36:27 [DBG]     1 Error(s)
  16:36:27 [DBG] 
  16:36:27 [DBG] Time Elapsed 00:00:01.05
  Error: Target "Compile" has thrown an exception
  16:36:27 [ERR] Target Compile has thrown an exception

 

Thanks again for all your help and support 

4 REPLIES 4
Message 2 of 5
nice3point
in reply to: lee6800

Make sure that the Installer configuration is set to build only the Installer project, and no others.

nice3point_1-1725277125417.png

 

 

Message 3 of 5
lee6800
in reply to: lee6800

Thank you very much for your help

Message 4 of 5
lee6800
in reply to: lee6800

One more question please;

when creating an installer, these three dll files are getting included 

JetBrains.Annotations.dll

Nice3point.Revit.Extensions.dll

Nice3point.Revit.Toolkit.dll

How can I exclude these files please? Thanks

Message 5 of 5
nice3point
in reply to: lee6800

without them your plugin will not be able to work, they should be kept in the installer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report