-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bump .NET version to 7.0 #807
Changes from all commits
482c5bf
7076692
4f19295
df4240c
bdb3129
8bd8643
0312bb2
c5e534d
8b5e496
6e5acf2
31c8f28
e2bfc9d
ebece01
65c20df
085434e
e966721
d2bd0e3
41f893e
237b2b9
245c2ee
302be41
54ec94d
2e3f312
9f0c2a7
16646d3
ccb5f15
e46ed01
db6c826
42aa91e
16f90dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProjectGuid>{2BB83AA6-D9DB-432F-8FC1-7AC83E7FE97B}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>DylibBinder</RootNamespace> | ||
<AssemblyName>DylibBinder</AssemblyName> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ExternalConsole>true</ExternalConsole> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ExternalConsole>true</ExternalConsole> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="Mono.Options"> | ||
<HintPath>..\packages\Mono.Options.6.6.0.161\lib\net40\Mono.Options.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="mscorlib" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="CheckInventory.cs" /> | ||
<Compile Include="DylibBinderOptions.cs" /> | ||
<Compile Include="InnerX.cs" /> | ||
<Compile Include="StringExtensions.cs" /> | ||
<Compile Include="DBTopLevel.cs" /> | ||
<Compile Include="DBTypeDeclaration.cs" /> | ||
<Compile Include="DBFunc.cs" /> | ||
<Compile Include="DBProperty.cs" /> | ||
<Compile Include="DBParameter.cs" /> | ||
<Compile Include="DBGenericParameter.cs" /> | ||
<Compile Include="DBAssociatedType.cs" /> | ||
<Compile Include="SwiftTypeToString.cs" /> | ||
<Compile Include="DBInnerTypes.cs" /> | ||
<Compile Include="XmlGenerator.cs" /> | ||
<Compile Include="Enums.cs" /> | ||
<Compile Include="SortedSetExtensions.cs" /> | ||
<Compile Include="DylibBinderReflector.cs" /> | ||
<Compile Include="DBModule.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="README.md" /> | ||
<None Include="packages.config" /> | ||
<None Include="Makefile" /> | ||
<None Include="IgnoreList.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Dynamo\Dynamo.csproj"> | ||
<Project>{D0E2964B-34C9-4FEE-A638-A10E2E4A0917}</Project> | ||
<Name>Dynamo</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\SwiftReflector\SwiftReflector.csproj"> | ||
<Project>{65E8BE11-4D82-4EA5-9D14-3CA044D443EF}</Project> | ||
<Name>SwiftReflector</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\SwiftRuntimeLibrary\SwiftRuntimeLibrary.csproj"> | ||
<Project>{B7E6CF5A-B836-41CF-988C-A83607AF5445}</Project> | ||
<Name>SwiftRuntimeLibrary</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\tom-swifty\tom-swifty.csproj"> | ||
<Project>{8CAC7366-9650-440D-A3C5-36D880285DD5}</Project> | ||
<Name>tom-swifty</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<OutputType>Exe</OutputType> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<Platforms>x86;AnyCPU</Platforms> | ||
<ExternalConsole>true</ExternalConsole> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Dynamo\Dynamo.csproj" /> | ||
<ProjectReference Include="..\SwiftReflector\SwiftReflector.csproj" /> | ||
<ProjectReference Include="..\SwiftRuntimeLibrary\SwiftRuntimeLibrary.csproj" /> | ||
<ProjectReference Include="..\tom-swifty\tom-swifty.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Mono.Options" Version="6.6.0.161" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use Central Package Management to keep all the package versions in sync: https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Opened an issue for this. |
||
</ItemGroup> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This setting is duplicated in the two condition PropertyGroups above, remove the prior ones. |
||
</PropertyGroup> | ||
</Project> |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the "net7.0" to a variable defined in a root
Directory.Build.props
Then use that variable to set the TargetFramework in every project. i.e:<TargetFramework>$(DOTNET_TFM)</TargetFramework>
or
<TargetFramework>$(DOTNET_TFM)-ios</TargetFramework>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is big enough that I feel it should be its own issue: #809