lib/artifacts.rb in dev_tasks-0.0.30 vs lib/artifacts.rb in dev_tasks-0.0.31

- old
+ new

@@ -20,11 +20,15 @@ # add in file dependencies deps = Dependencies.get_dependencies_from_file p if(deps.has_key?(:file)) deps[:file].each {|d| - name=d.split('/\\').last.gsub('.dll','') - self["#{assemblyName} #{name}"] = 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)) + name=d.gsub('\\','/').split('/').last.gsub('.dll','') + self["#{assemblyName} #{name}"] = cs_dll_dep } end end } end \ No newline at end of file