[smuxi/vs_love] Frontend-GNOME.csproj: copy win32 config file to build directory for *-Win32 builds
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi/vs_love] Frontend-GNOME.csproj: copy win32 config file to build directory for *-Win32 builds
- Date: Thu, 5 Nov 2015 23:45:40 +0000 (UTC)
commit 26c812071898bcf627682ebcfe8983839b7d8546
Author: Mirco Bauer <meebey meebey net>
Date: Wed Nov 4 19:03:33 2015 +0100
Frontend-GNOME.csproj: copy win32 config file to build directory for *-Win32 builds
.NET on Windows does not understand dllmap elements in application config
files. Thus we need to use a win32 version of it without dllmap entries.
src/Frontend-GNOME/Frontend-GNOME.csproj | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/Frontend-GNOME.csproj b/src/Frontend-GNOME/Frontend-GNOME.csproj
index f71dc28..6d9a77a 100644
--- a/src/Frontend-GNOME/Frontend-GNOME.csproj
+++ b/src/Frontend-GNOME/Frontend-GNOME.csproj
@@ -254,4 +254,10 @@
</Properties>
</MonoDevelop>
</ProjectExtensions>
-</Project>
+ <ItemGroup>
+ <AppConfigWin32 Include="$(SolutionDir)..\lib\win32\smuxi-frontend-gnome.exe.config" />
+ </ItemGroup>
+ <Target Name="AfterBuild">
+ <Copy Condition=" '$(Configuration)' == 'Debug-Win32' Or '$(Configuration)' == 'Release-Win32' "
DestinationFolder="$(OutputPath)" SourceFiles="@(AppConfigWin32)" SkipUnchangedFiles="true" />
+ </Target>
+</Project>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]