Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error with VS 2017 build #27

Closed
wants to merge 1 commit into from

Conversation

BenjaminAbt
Copy link
Collaborator

It was not possible to use downr with VS2017 because the pre-build task were ignored.
Added two script files to fixed this behavior. Now build of VS2017 works the same way like CLI before.

@@ -5,6 +5,10 @@
<PropertyGroup>
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<PreBuildEvent>cd $(SolutionDir)
call pre-build.bat</PreBuildEvent>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BenjaminAbt will this work on a mac? you've got a *.bat file extension in there.

@bradygaster-zz
Copy link
Owner

This looks like it makes an OS assumption with the *.bat files. @BenjaminAbt please remember one of the goals is to keep this multi-platform.

@BenjaminAbt
Copy link
Collaborator Author

You originally added build.bat ;-) I've just edited it.
Then we need an independent solution, like a grunt task...?

@bradygaster-zz
Copy link
Owner

@BenjaminAbt yes i know i added one but it was due to the issues the vs17 issue is causing and it was a last-ditch strategy. we have two grunt tasks - one for prebuild and one for after. they're not getting called properly by the dotnet build process after the introduction of the *.csproj.

@BenjaminAbt
Copy link
Collaborator Author

Ok, good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants