Class: Bozo::Compilers::ClassLibrary
- Defined in:
- lib/bozo/compilers/msbuild.rb
Instance Method Summary collapse
-
#location ⇒ Object
We have dots in the part of the location for target framework.
- #populate_config(config) ⇒ Object
Methods inherited from Project
#build, #clean, #framework_version, #generate_args, #initialize, #name, #project_path, #temp_project_path, #windowsize_path
Constructor Details
This class inherits a constructor from Bozo::Compilers::Project
Instance Method Details
#location ⇒ Object
We have dots in the part of the location for target framework. We can’t have them for NuGet packages. We’re doing this change only for class libraries since changing for other projects would break other stuff for them (like scheduled tasks)
248 249 250 251 |
# File 'lib/bozo/compilers/msbuild.rb', line 248 def location fx_version = framework_version.tr(".", "") File.(File.join(temp_project_path, fx_version)) end |
#populate_config(config) ⇒ Object
239 240 241 242 |
# File 'lib/bozo/compilers/msbuild.rb', line 239 def populate_config(config) config[:properties][:outputpath] = location + '/' config[:properties][:solutiondir] = windowsize_path(File.('.') + '//') end |