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

Migrate to package references and SDK project format #583

Merged
merged 20 commits into from
Apr 11, 2020
Merged

Migrate to package references and SDK project format #583

merged 20 commits into from
Apr 11, 2020

Conversation

@ycanardeau ycanardeau changed the title Migrate To Package References Migrate To package references and SDK project format Apr 6, 2020
Comment on lines -1 to -18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using VocaDb.Model.Domain.Security;

namespace VocaDb.Model.Mapping.Security {

public class PermissionTokenMap : ClassMap<PermissionToken> {

public PermissionTokenMap() {

Id(m => m.Id);

}
}
}
Copy link
Contributor Author

@ycanardeau ycanardeau Apr 6, 2020

Choose a reason for hiding this comment

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

I removed PermissionTokenMap.cs because it seems that it is not used. In fact, if it is included in the project, a NHibernate.InvalidProxyTypeException will be thrown.

@ycanardeau ycanardeau changed the title Migrate To package references and SDK project format Migrate to package references and SDK project format Apr 9, 2020
@@ -41,6 +41,8 @@
<system.web>
<compilation debug="true" targetFramework="4.8" batch="false">
<assemblies>
<!-- https://github.com/dotnet/standard/issues/542 -->
<add assembly="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
Copy link
Member

Choose a reason for hiding this comment

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

Did you get the error? I was under the impression this should be unnecessary if AutoGenerateBindingRedirects and PackageReference are enabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. Reverted Web.config.

@ycanardeau
Copy link
Contributor Author

Thank you for your review!

@ycanardeau ycanardeau mentioned this pull request Apr 11, 2020
@riipah riipah merged commit 0cceb72 into VocaDB:master Apr 11, 2020
@riipah
Copy link
Member

riipah commented Apr 11, 2020

Thank you for the PR!

@ycanardeau ycanardeau deleted the feat/550-sdk-project-format branch April 12, 2020 01:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants