Skip to content

Commit 87b48ae

Browse files
committed
chore: Convert Refly project file to SDK format
1 parent abc5a8e commit 87b48ae

File tree

7 files changed

+19
-536
lines changed

7 files changed

+19
-536
lines changed

src/NHibernate.Mapping.Attributes.props renamed to src/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
2424
<TreatSpecificWarningsAsErrors />
2525
</PropertyGroup>
26+
<ItemGroup>
27+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
28+
</ItemGroup>
2629
</Project>

src/Generator/Generator.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="../NHibernate.Mapping.Attributes.props" />
32
<PropertyGroup>
43
<Product>NHibernate.Mapping.Attributes.Generator</Product>
54
<Description>NHibernate.Mapping.Attributes code generator.</Description>

src/NHibernate.Mapping.Attributes.Generator.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E454F68D-C4C2-4D44-8761-E1E6C6276EB8}"
66
ProjectSection(SolutionItems) = preProject
77
NHibernate.snk = NHibernate.snk
8-
NHibernate.Mapping.Attributes.props = NHibernate.Mapping.Attributes.props
8+
Directory.Build.props = Directory.Build.props
99
EndProjectSection
1010
EndProject
1111
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator", "Generator\Generator.csproj", "{22CADD56-EF07-4040-A171-BC5A3AB896FD}"

src/NHibernate.Mapping.Attributes.Test/NHibernate.Mapping.Attributes.Test.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="../NHibernate.Mapping.Attributes.props" />
3-
42
<PropertyGroup>
53
<Product>NHibernate.Mapping.Attributes.Generator</Product>
64
<Description>Unit tests of NHibernate.Mapping.Attributes</Description>

src/NHibernate.Mapping.Attributes/NHibernate.Mapping.Attributes.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="../NHibernate.Mapping.Attributes.props" />
3-
42
<PropertyGroup>
53
<Product>NHibernate.Mapping.Attributes</Product>
64
<Title>NHibernate.Mapping.Attributes</Title>

src/Refly/AssemblyInfo.cs

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// Refly License
1+
/// Refly License
22
///
33
/// Copyright (c) 2004 Jonathan de Halleux, http://www.dotnetwiki.org
44
///
@@ -14,61 +14,5 @@
1414

1515

1616
using System;
17-
using System.Reflection;
1817

19-
//
20-
// General Information about an assembly is controlled through the following
21-
// set of attributes. Change these attribute values to modify the information
22-
// associated with an assembly.
23-
//
24-
[assembly: AssemblyTitle("Refly, Re/Factoring Helper Tool")]
25-
[assembly: AssemblyDescription("CodeDom helper classes")]
26-
[assembly: AssemblyConfiguration("")]
27-
[assembly: AssemblyCompany("Jonathan de Halleux, http://www.dotnetwiki.org")]
28-
[assembly: AssemblyProduct("")]
29-
[assembly: AssemblyCopyright("")]
30-
[assembly: AssemblyTrademark("")]
31-
[assembly: AssemblyCulture("")]
3218
[assembly: CLSCompliant(true)]
33-
34-
//
35-
// Version information for an assembly consists of the following four values:
36-
//
37-
// Major Version
38-
// Minor Version
39-
// Build Number
40-
// Revision
41-
//
42-
// You can specify all the values or you can default the Revision and Build Numbers
43-
// by using the '*' as shown below:
44-
45-
[assembly: AssemblyVersion("2.21.1.0")]
46-
47-
//
48-
// In order to sign your assembly you must specify a key to use. Refer to the
49-
// Microsoft .NET Framework documentation for more information on assembly signing.
50-
//
51-
// Use the attributes below to control which key is used for signing.
52-
//
53-
// Notes:
54-
// (*) If no key is specified, the assembly is not signed.
55-
// (*) KeyName refers to a key that has been installed in the Crypto Service
56-
// Provider (CSP) on your machine. KeyFile refers to a file which contains
57-
// a key.
58-
// (*) If the KeyFile and the KeyName values are both specified, the
59-
// following processing occurs:
60-
// (1) If the KeyName can be found in the CSP, that key is used.
61-
// (2) If the KeyName does not exist and the KeyFile does exist, the key
62-
// in the KeyFile is installed into the CSP and used.
63-
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
64-
// When specifying the KeyFile, the location of the KeyFile should be
65-
// relative to the project output directory which is
66-
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
67-
// located in the project directory, you would specify the AssemblyKeyFile
68-
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
69-
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
70-
// documentation for more information on this.
71-
//
72-
[assembly: AssemblyDelaySign(false)]
73-
//[assembly: AssemblyKeyFile("..\\..\\..\\Refly.snk")]
74-
[assembly: AssemblyKeyName("")]

0 commit comments

Comments
 (0)