Cleanup assembly attributes
We're not using this metadata for anything, except one [InternalsVisibleTo] for unit tests, and a half-assed version check in EmuHawk.Program.
This commit is contained in:
parent
9fc8db14c3
commit
ebd9645c1e
|
@ -1,7 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<RunAnalyzersDuringBuild Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">false</RunAnalyzersDuringBuild>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("BizHawk.Tests")]
|
|
@ -1,24 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Client.Common")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Client.Common")]
|
||||
[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("8281b376-a1d5-4157-97b8-dab7246ef4c8")]
|
||||
|
||||
[assembly: InternalsVisibleTo("BizHawk.Tests")]
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Client.DiscoHawk")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Client.DiscoHawk")]
|
||||
[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("0DE267F2-039C-44A3-8489-97A4D99649C2")]
|
|
@ -87,18 +87,19 @@ namespace BizHawk.Client.EmuHawk
|
|||
// and there was a TypeLoadException before the first line of SubMain was reached (some static ColorType init?)
|
||||
// zero 25-dec-2012 - only do for public builds. its annoying during development
|
||||
// and don't bother when installed from a package manager i.e. not Windows --yoshi
|
||||
if (!VersionInfo.DeveloperBuild && !OSTC.IsUnixHost)
|
||||
{
|
||||
var thisversion = typeof(Program).Assembly.GetName().Version;
|
||||
var utilversion = Assembly.Load(new AssemblyName("BizHawk.Client.Common")).GetName().Version;
|
||||
var emulversion = Assembly.Load(new AssemblyName("BizHawk.Emulation.Cores")).GetName().Version;
|
||||
|
||||
if (thisversion != utilversion || thisversion != emulversion)
|
||||
{
|
||||
MessageBox.Show("Conflicting revisions found! Don't mix .dll versions!");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
// commenting this out until I get it generated properly --yoshi
|
||||
// if (!VersionInfo.DeveloperBuild && !OSTC.IsUnixHost)
|
||||
// {
|
||||
// var thisversion = typeof(Program).Assembly.GetName().Version;
|
||||
// var utilversion = Assembly.Load(new AssemblyName("BizHawk.Client.Common")).GetName().Version;
|
||||
// var emulversion = Assembly.Load(new AssemblyName("BizHawk.Emulation.Cores")).GetName().Version;
|
||||
//
|
||||
// if (thisversion != utilversion || thisversion != emulversion)
|
||||
// {
|
||||
// MessageBox.Show("Conflicting revisions found! Don't mix .dll versions!");
|
||||
// return -1;
|
||||
// }
|
||||
// }
|
||||
|
||||
TempFileManager.Start();
|
||||
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Client.EmuHawk")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Client.EmuHawk")]
|
||||
[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("c282f0e2-86cb-4a6b-b83e-ad74f90ebe83")]
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Common")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Common")]
|
||||
[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("f8e9ad29-89d8-478b-a699-ed3369703b6a")]
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Emulation.Common")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Emulation.Common")]
|
||||
[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("b4ade60b-b857-4604-860b-fa0d27f99171")]
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Emulation")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Emulation")]
|
||||
[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("38dc7bf9-d86c-4217-acd8-36dc09f8ba57")]
|
|
@ -1,21 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("BizHawk.Emulation.DiscSystem")]
|
||||
[assembly: AssemblyDescription("http://tasvideos.org/Bizhawk.html")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("BizHawk")]
|
||||
[assembly: AssemblyProduct("BizHawk.Emulation.DiscSystem")]
|
||||
[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("1ad4da36-4e98-4d1a-bd75-17d63c0e30dc")]
|
|
@ -3,9 +3,6 @@
|
|||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion(VersionInfo.MainVersion + "." + SubWCRev.SVN_REV)]
|
||||
[assembly: AssemblyFileVersion(VersionInfo.MainVersion + "." + SubWCRev.SVN_REV)]
|
||||
|
||||
internal static class VersionInfo
|
||||
{
|
||||
// keep this updated at every major release
|
||||
|
|
Loading…
Reference in New Issue