103 Commits

Author SHA1 Message Date
UbitUmarov
5ffe928392 remove some warnings in unused code 2024-05-28 22:21:31 +01:00
UbitUmarov
e731edfa2e move minimal dotnet version to 8 2024-04-20 23:37:37 +01:00
UbitUmarov
a948cccbe2 update prebuild.dll 2023-11-29 12:04:59 +00:00
UbitUmarov
3f0fcbf3c6 a few more changes missing on prebuild source 2022-11-10 09:37:05 +00:00
UbitUmarov
f4e1bf798a update prebuild; remove duplicated Debug compile define 2022-11-10 09:24:56 +00:00
UbitUmarov
302da0b61f the changes to prebuild sources to compile for dotnet6 2022-10-09 20:43:56 +01:00
UbitUmarov
9fb436b214 the changes to prebuild source.. 2022-10-04 21:15:38 +01:00
UbitUmarov
506d8a5f74 update prebuild 2022-09-25 20:43:27 +01:00
UbitUmarov
bbdcaf7508 update Prebuild.exe with fix on its option excludir 2022-05-22 23:37:48 +01:00
UbitUmarov
4f7b293c5e add comandline option excluddir to Prebuild, to make easier to use older xml files that did not excluse folders like obj from the project 2022-04-30 14:57:51 +01:00
Robert Adams
6aba7135da Default ProjectNode.Files to be empty list. Fixes exception on NAnt builds.
Updated Prebuild.exe
2022-04-06 13:48:53 -04:00
Robert Adams
bc86a0f286 Update Prebuild/src/Prebuild.csproj to be recent library versions
and framework 4.8.
2022-04-06 10:56:47 -04:00
Robert Adams
6d21e45ce1 Add 'forceFrameworkVersion' parameter to Project node which overrides
the overrides passed down by the command line or the Solution node.
This specifies that this particular Project requires the given framework.
2022-04-06 10:54:56 -04:00
UbitUmarov
bf6885607e add parameters frameworkVersion and forceFrameworkVersion to the prebuild solution. First sets the version if not defined on projects, alternatively the second does override those. The comandline can still override all. Use command line override to compile for 4.8 so remove 4.4 xml and simplify main xml, still defaulting to 4.6 2022-03-30 18:44:54 +01:00
UbitUmarov
0b19ce979c let prebuild add framework version conditional define automaticly 2022-03-30 16:27:30 +01:00
UbitUmarov
b7ed5f109e prebuild for .net6, disable stupid ms imitation of java hotspots 2022-03-23 19:23:08 +00:00
UbitUmarov
247cb70595 a few changes to .net6 prebuild, still needs more work.. 2022-03-23 02:06:01 +00:00
UbitUmarov
22e0c02d05 a few changes to .net6 prebuild, still needs more work.. 2022-03-23 01:04:55 +00:00
UbitUmarov
fa45b6cf54 replace utf8 bom encoding by utf8 (no signature) 2022-02-26 13:48:11 +00:00
UbitUmarov
bd3db9eeeb normalize tab as 4spaces 2022-02-26 13:22:42 +00:00
Robert Adams
ad220821c5 Add Project/Configuration/Option/OutDir since VS and Mono seem to have
different destination directory rules.
Pass all set Option parameters through to the csproj.
2022-02-25 15:02:39 -08:00
Robert Adams
f069d47370 Fix line endings. 2022-02-24 19:23:33 -08:00
Robert Adams
2e19e41b78 Update prebuild.exe to generate .csproj files for frameworkVersion
equal to "netstandard2_0", "net5_0", and "net6_0".
Add sections for PackageReference and ProjectReference to add inter-project
   connections as well as NuGet packages.
Existing generation of .csproj files for "framework4.*" remains unchanged.
Working for simple projects with *References.
2022-02-24 19:16:33 -08:00
UbitUmarov
249f0fc4c2 mantis 7896 and 7910: fix lsl setting of flexi and impact on prim type 2021-11-30 16:29:04 +00:00
UbitUmarov
5a694ebbaf update prebuild 2020-09-10 23:59:16 +01:00
UbitUmarov
5e40bc3943 update prebuild 2020-09-10 23:58:21 +01:00
Melanie
2f52a3b124 When using FSAssets, the HGAssetService would still use AssetService.
This introduces a new HGAssetService config option named BackingService,
which defaults to the old behaviour, loading AssetService. It can, however,
be used to load FSAssets for HG assets, which eliminates numerous problems.
2019-07-13 13:33:34 +01:00
UbitUmarov
34da125a4d fix our name is OpenSimulator not OpenSim 2017-08-31 15:25:14 +01:00
UbitUmarov
3fe3471532 improve Prefer32bit configuration option 2017-08-31 15:17:42 +01:00
UbitUmarov
a578df9589 CSharp targets name still wrong 2017-08-31 11:29:00 +01:00
UbitUmarov
b9fc629bdf fix a whitecode bug, add missing files 2017-08-31 11:23:03 +01:00
UbitUmarov
a30d8f8e64 fix a prebuild VS targets assembly name 2017-08-31 09:59:44 +01:00
UbitUmarov
46ead8dcb2 make option Prefer32bit default to false. Thanks Freaky Tech 2017-08-30 22:49:13 +01:00
UbitUmarov
41e8b9f91f update Prebuild with WhiteCore version 2017-08-30 22:24:07 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker
28fb722612 CR safari. Remove gratuitious CRs in some files 2016-04-07 19:53:56 +02:00
Oren Hurvitz
eaf99bf928 Changed to Unix line-endings in VS2010Target.cs
Resolves http://opensimulator.org/mantis/view.php?id=6951
2014-03-24 12:27:07 +01:00
Oren Hurvitz
f5ae36d7e2 Updated Prebuild to support .NET 4.5
Resolves http://opensimulator.org/mantis/view.php?id=6951
2014-03-24 12:26:54 +01:00
Justin Clark-Casey (justincc)
90c6d2e50c Stop Prebuild from generating <copy> statements which unnecessarily copy files into bin/Debug or bin/Release
nant_0.91~alpha2+dfsg-3_all.deb in Ubuntu 12.04 and earlier actually ignored these due to a bug
However, nant 0.92~rc1+dfsg-2 in Ubuntu 12.10 fixes this bug (possibly https://github.com/nant/nant/pull/39).
Which makes nant time-consumingly copy these files when the aren't actually used.
Tested removal of <copy> on both nant 0.91 and nant 0.92
Will be submitting this patch to prebuild project for comment though I suspect there's nobody there to pay attention.
2012-11-14 02:25:07 +00:00
BlueWall
f36fe45fa7 Add Copy task to Prebuild.exe (vsxxxx targets)
<Files>
    <Match pattern="*.cs" recurse="true"/>
    <Match pattern="../bin/MyConfig.xml" buildAction="Copy" recurse="false" destination="$(OutputPath)" />
  </Files>
2011-12-25 00:04:42 -05:00
Justin Clark-Casey (justincc)
91f59f246f also get "nant clean" to remove old .mdb from .exe and .dll 2011-08-30 23:20:54 +01:00
Justin Clark-Casey (justincc)
9e4153f16b Hack our copy of Prebuild to just delete the dlls and mdbs in Physics, so as to leave the new config file 2011-08-30 23:17:02 +01:00
John Hurliman
a9acc6730d Removing .svn directories under Prebuild/ from source control 2010-09-11 18:26:59 -07:00
Diva Canto
d5c7a8d28c All these files want to be committed. All white space junk. grr. 2010-09-10 21:18:23 -07:00
Diva Canto
51a5af93d0 White space junk. 2010-09-10 18:48:32 -07:00
Justin Clark-Casey (justincc)
7e65590a55 Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"
Source code is included for reference.  This can go away again once Prebuild is updated with a more general mechanism for cleaning up files.
The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
2010-09-11 01:13:08 +01:00
BlueWall
1e44ec84bd Build system upgrade:
Upgrading Prebuild.exe to correctly construct build solutions
	for crossplatform tools such as xbuild, monodevelop and nant.

	NOTE: Module prebuild files will need modification to work,
	as the prebuild must correctly define the reference path for
	all assemblies shipped in the OpenSimulator ./bin directory.
	These include assemblies such as XMLRPC.dll, OpenMetaverse.dll,
	Nini.dll, etc. . The entries should follow the form:

		<Reference name="Nini" path="../../../bin/"/>

	See the distributed prebuild.xml for further examples.

	Crossplatform tools: xbuild and monodevelop use the
	vs2008 OpenSim.sln and the .csproj files in each namespace.

	Changes to the Prebuild.exe are against svn 322 and are included
	in a patch attached to the mantis. And the dnpb source are
	available@ svn co https://dnpb.svn.sourceforge.net/svnroot/dnpb dnpb
	The patches are pending application by the dnpb team. After which,
	the un-modified upstream Prebuild.exe will work as expected.
2010-09-04 02:12:21 +01:00
John Hurliman
96d53f11e5 Added VS2010 support to Prebuild and created runprebuild2010.bat 2009-10-22 17:03:13 -07:00
John Hurliman
f6cc20940f Taking the opportunity to delete unnecessary text files from the Prebuild folder (the license information is already in the appropriate place in the OpenSim distro) 2009-09-30 17:49:51 -07:00
Melanie
8274005029 Update prebuild once again 2009-08-06 22:55:50 +01:00