Use SDK-style project type

This commit is contained in:
Tony Bark 2021-03-11 10:01:05 -05:00
parent cd9e8036d8
commit f86a2bc7a7
4 changed files with 51 additions and 145 deletions

View file

@ -10,7 +10,7 @@ This project is designed as a Visual Studio template to get people straight into
* Visual Studio * Visual Studio
* .NET desktop workload * .NET desktop workload
* TS3: Patch 1.69 * TS3: Patch 1.69 (Origin)
## License ## License

View file

@ -1,39 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
using Sims3.SimIFace;
// Enable tuning for The Sims 3
[assembly: Tunable]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sims3Mod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Sims3Mod")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3fb422e7-027e-4a66-9eb3-4953ea67431f")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -1,105 +1,49 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFramework>net20</TargetFramework>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> </PropertyGroup>
<ProjectGuid>{3FB422E7-027E-4A66-9EB3-4953EA67431F}</ProjectGuid>
<OutputType>Library</OutputType> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AppDesignerFolder>Properties</AppDesignerFolder> <PlatformTarget>x86</PlatformTarget>
<RootNamespace>TS3ScriptingMod</RootNamespace> </PropertyGroup>
<AssemblyName>TS3ScriptingMod</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<FileAlignment>512</FileAlignment> <PlatformTarget>x86</PlatformTarget>
<Deterministic>true</Deterministic> </PropertyGroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <ItemGroup>
<DebugSymbols>true</DebugSymbols> <Reference Include="mscorlib">
<DebugType>full</DebugType> <HintPath>TS3Core\mscorlib.dll</HintPath>
<Optimize>false</Optimize> </Reference>
<OutputPath>bin\Debug\</OutputPath> <Reference Include="ScriptCore">
<DefineConstants>DEBUG;TRACE</DefineConstants> <HintPath>TS3Core\ScriptCore.dll</HintPath>
<ErrorReport>prompt</ErrorReport> </Reference>
<WarningLevel>4</WarningLevel> <Reference Include="SimIFace">
<PlatformTarget>x86</PlatformTarget> <HintPath>TS3Core\SimIFace.dll</HintPath>
</PropertyGroup> </Reference>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <Reference Include="Sims3GameplayObjects">
<DebugType>pdbonly</DebugType> <HintPath>TS3Core\Sims3GameplayObjects.dll</HintPath>
<Optimize>true</Optimize> </Reference>
<OutputPath>bin\Release\</OutputPath> <Reference Include="Sims3GameplaySystems">
<DefineConstants>TRACE</DefineConstants> <HintPath>TS3Core\Sims3GameplaySystems.dll</HintPath>
<ErrorReport>prompt</ErrorReport> </Reference>
<WarningLevel>4</WarningLevel> <Reference Include="Sims3Metadata">
<PlatformTarget>x86</PlatformTarget> <HintPath>TS3Core\Sims3Metadata.dll</HintPath>
</PropertyGroup> </Reference>
<ItemGroup> <Reference Include="Sims3StoreObjects">
<Compile Include="Pausinator.cs" /> <HintPath>TS3Core\Sims3StoreObjects.dll</HintPath>
<Compile Include="Properties\AssemblyInfo.cs" /> </Reference>
</ItemGroup> <Reference Include="UI">
<ItemGroup> <HintPath>TS3Core\UI.dll</HintPath>
<Reference Include="ScriptCore"> </Reference>
<HintPath>TS3Core\ScriptCore.dll</HintPath> </ItemGroup>
</Reference>
<Reference Include="SimIFace"> <ItemGroup>
<HintPath>TS3Core\SimIFace.dll</HintPath> <None Update="XML\S3_simsmod.xml">
</Reference> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Reference Include="Sims3GameplayObjects"> </None>
<HintPath>TS3Core\Sims3GameplayObjects.dll</HintPath> </ItemGroup>
</Reference>
<Reference Include="Sims3GameplaySystems">
<HintPath>TS3Core\Sims3GameplaySystems.dll</HintPath>
</Reference>
<Reference Include="Sims3Metadata">
<HintPath>TS3Core\Sims3Metadata.dll</HintPath>
</Reference>
<Reference Include="Sims3StoreObjects">
<HintPath>TS3Core\Sims3StoreObjects.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="UI">
<HintPath>TS3Core\UI.dll</HintPath>
</Reference>
<Reference Include="mscorlib">
<HintPath>TS3Core\mscorlib.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Content Include="XML\S3_simsmod.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\mscorlib.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\ScriptCore.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\SimIFace.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\Sims3GameplayObjects.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\Sims3GameplaySystems.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\Sims3Metadata.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\Sims3StoreObjects.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\System.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\System.Xml.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TS3Core\UI.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1EBE1217-8539-4B20-A8A1-B6CD4EB2AAC5}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1EBE1217-8539-4B20-A8A1-B6CD4EB2AAC5}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig .editorconfig = .editorconfig
..\.github\workflows\dotnet.yml = ..\.github\workflows\dotnet.yml
..\README.md = ..\README.md ..\README.md = ..\README.md
EndProjectSection EndProjectSection
EndProject EndProject