File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ namespace :source do
46
46
files_to_copy = Dir["tools/NHibernate/#{args.nhibernate_version}/*.*"]
47
47
files_to_copy.each {|f| FileUtils.copy f, "tools/NHibernate/" }
48
48
end
49
-
49
+
50
50
desc 'Compile the source'
51
51
msbuild :compile, [:nhibernate_version] => :nhibernate_version do |msb,args|
52
52
args.with_defaults :nhibernate_version => ENV['nhibernate_version'] || NH_VERSION
@@ -55,7 +55,11 @@ namespace :source do
55
55
56
56
puts nh_version_precompiler_switch
57
57
58
- msb.properties = { :configuration => :Release, :DefineConstants => nh_version_precompiler_switch }
58
+ msb.properties = {
59
+ configuration: :Release,
60
+ DefineConstants: nh_version_precompiler_switch,
61
+ WarningLevel: 0,
62
+ }
59
63
msb.targets [:Clean, :Build]
60
64
msb.solution = 'src/FluentNHibernate.sln'
61
65
end
You can’t perform that action at this time.
0 commit comments