.Net Core 3.1, EF Core 3.1 publishing issues #449
Labels
area-SDK
Relates to Service Fabric SDK and corresponding tooling support (including VS)
area-Tooling
Relates to questions or issues related to experience enabled in VS to deploy or manage SF apps
status-in-progress
Issue is being worked on actively
I recently had a several day fight with a run-time exception. I lost way too much time on this :-), but have found a work around. I'm not sure if it is the best, but it works.
I'm hoping there is a fix that Microsoft can do to help others avoid the difficulties. I wasn't sure if this is the best place to create the issue. Azure Functions had some similar issues in their repo.
Here's a summary, more details can be found in my blog post
Visual Studio, right-click publish on the .sfproj worked great. The Azure DevOps pipeline release has this run-time exception.
My Solution
I finally decided to go my own way. I know that dotnet publish got the right dll. I also learned that I couldn’t use dotnet cli to create a SF package. I created a .bat file to have something to run locally quickly. Then I moved that .bat file into the Azure DevOps build and called that. In the future, I may split it back out into separate build tasks.
I have the bat file in the blog post. Notice the steps.
The text was updated successfully, but these errors were encountered: