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

Made this package available for .net45 clients, because it is good #1

Merged
merged 20 commits into from
Sep 1, 2017

Conversation

petero-dk
Copy link
Contributor

I found this package and have been using it in my MVC5 projects running on .net45 and later, the code is fully compatible so it is simple a matter of creating a second dll and adding it to the nupack.

@petero-dk
Copy link
Contributor Author

This is compiling just fine on vsts build server. I have never tried appveyor

This reverts commit 6d964bc.
@dei79
Copy link
Member

dei79 commented Aug 31, 2017

It's because I'm using a custom build script, so it would be necessary to target the dotnet buidl with just the correct project and then you can call msbuild for the .net45 project. In addition nuget restore must be called for the .net45 as well. So can you please add the changed to the appveyor.yml (you can easily sign up for free to test everything with your fork). I'm happy to add a .net45 version in the nuget as well.

@dei79
Copy link
Member

dei79 commented Aug 31, 2017

Thanks for your updates so the correct path in yml file must be

CoreHelpers.WindowsAzure.Storage.Table\CoreHelpers.WindowsAzure.Storage.Table.csproj

instead of just

CoreHelpers.WindowsAzure.Storage.Table.csproj

I guess

@petero-dk
Copy link
Contributor Author

I think the build for the projects are correct now, I dont know how the version string are generated or why they are not working now? That I did not touch.

@dei79
Copy link
Member

dei79 commented Aug 31, 2017

Not sure why it's breaking but could be that you need to use in msbuild and dotnet build and restore also the AppVeyor variable: %APPVEYOR_BUILD_FOLDER%

@dei79
Copy link
Member

dei79 commented Aug 31, 2017

Ah I guess you are referencing the Assembly.cs in the MSBuild Script, just a guessing. This make the Assembly.cs now compatible with msbuild but not with core anymore. The Assmebly.cs is patched with the powershell script.

@dei79
Copy link
Member

dei79 commented Aug 31, 2017

So I recommend to different Assembly.cs files for the two different projects

@petero-dk
Copy link
Contributor Author

Maybe, but actually it is the dotnet build that fails:
dotnet build -c Release CoreHelpers.WindowsAzure.Storage.Table\CoreHelpers.WindowsAzure.Storage.Table.csproj

Because the version string is:
1.5.43-ldymgyhx

That might be because this is a PR, and not simply the master branch.

I have both compiling just fine, here and on vsts with the same assembly.cs

@dei79
Copy link
Member

dei79 commented Aug 31, 2017

Did you pull the change I did a couple minutes ago? I added in the appveyor.yml the information that a pull request should not increase the version number? This could be the root cause

@petero-dk
Copy link
Contributor Author

And we have liftoff :-) but did your build process just upload the package to nuget automatically?

@dei79 dei79 merged commit b04c871 into CoreHelpers:master Sep 1, 2017
@dei79
Copy link
Member

dei79 commented Sep 1, 2017

The changes are now published to NuGet as Version 1.6.45, thanks for contribution

@petero-dk
Copy link
Contributor Author

petero-dk commented Sep 1, 2017

Cool! And you are welcome

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