Fixed Win64 not able to load 64-bit libs (msbuild needs the solution context).

Also, restore packages for posterity.
master
Nabile Rahmani 2018-06-17 14:16:14 +02:00
parent 71500b5c68
commit e17c4c1c4e
2 changed files with 6 additions and 6 deletions

View File

@ -18,6 +18,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExternalConsole>true</ExternalConsole>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
@ -25,6 +26,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExternalConsole>true</ExternalConsole>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

View File

@ -12,8 +12,9 @@ VERSION = $(shell $(OUTPUT_DIRECTORY)/$(OUTPUT_BINARY) --help | head -1 | awk '{
DEPLOY_SERVER := 192.168.1.51
DEPLOY_PATH := /var/www/nabile.duckdns.org/$(PROJECT_NAME)/Download
all: clean
$(COMPILER) /p:Configuration=$(COMPILER_CONFIGURATION)
all:
cd .. && nuget restore
$(COMPILER) .. /p:Configuration=$(COMPILER_CONFIGURATION)
chmod +x $(OUTPUT_DIRECTORY)/$(OUTPUT_BINARY)
deploy: all
@ -22,7 +23,4 @@ deploy: all
cd $(OUTPUT_DIRECTORY) && zip -r - . | ssh $(DEPLOY_SERVER) 'cat > $(DEPLOY_PATH)/$(BRANCH_NAME)/$(PROJECT_NAME).zip'
echo $(VERSION) | ssh $(DEPLOY_SERVER) 'cat > $(DEPLOY_PATH)/$(BRANCH_NAME)/version'
clean:
$(COMPILER) /t:Clean /p:Configuration=$(COMPILER_CONFIGURATION)
.PHONY: all deploy clean
.PHONY: all deploy