lib/artifacts.rb in dev_tasks-0.0.31 vs lib/artifacts.rb in dev_tasks-0.0.32
- old
+ new
@@ -23,10 +23,10 @@
if(deps.has_key?(:file))
deps[:file].each {|d|
# d include to directory from which it was referenced, Visual Studio copies this to
# the location of cs_dll
- cs_dll_dep=d.gsub(File.dirname(d),File.dirname(cs_dll))
+ cs_dll_dep=d.gsub(File.dirname(d),File.dirname(cs_dll)).gsub('\\','/')
name=d.gsub('\\','/').split('/').last.gsub('.dll','')
self["#{assemblyName} #{name}"] = cs_dll_dep
}
end
end
\ No newline at end of file