Code Monkey home page Code Monkey logo

depcharter's People

Contributors

janwilmans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

depcharter's Issues

improve error-handling is tred is not found

  1. fout-afhandeling als tred.exe niet gevonden kan worden!
  2. large.png not found??
static public void reduceDotfile(string inputname, string outputname)
{
  System.Diagnostics.Process tredProc = new System.Diagnostics.Process();
  Console.WriteLine("Using tred to create reduced {0}", inputname);
  tredProc.StartInfo.FileName = "tred.exe";
  tredProc.StartInfo.Arguments = inputname;
  tredProc.StartInfo.UseShellExecute = false;
  tredProc.StartInfo.RedirectStandardOutput = true;
  tredProc.Start();                  <========================== exception!?
  string tredOutput = tredProc.StandardOutput.ReadToEnd();
  tredProc.WaitForExit();

  if (File.Exists(outputname)) File.Delete(outputname);
  StreamWriter writer = new StreamWriter(outputname);
  writer.Write(tredOutput);
  writer.Close();
}

"ProjectReference" will not be parsed in the vcsproj files

Hi,

my sln contains project in this way:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GUI", "GUI\GUI.vcxproj", 
"{5E23695D-59A8-4E4D-AD06-CFE44A1C0032}"
    ProjectSection(ProjectDependencies) = postProject
        {AE0213DC-C257-414E-BFF9-1C731AEF9D6F} = {AE0213DC-C257-414E-BFF9-1C731AEF9D6F}
    EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProjectOne", 
"ProjectOne\ProjectOne.vcxproj", "{895C78E7-67A5-4D2F-A03D-3F439342802B}"
EndProject

And the GUI\GUI.vcxproj file contains the reference:
<ProjectReference Include="..\ProjectOne\ProjectOne.vcxproj">
  <Project>{895c78e7-67a5-4d2f-a03d-3f439342802b}</Project>
  <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>

So in my eyes this reference should be also a project dependency but it won't 
be added to the graphviz.

I use Verion DepCharterSetup_v2.2.exe.

Please add this issue to depcharter.

Kind Regards,

Thoams


Original issue reported on code.google.com by [email protected] on 20 Mar 2013 at 11:25

Collection was modified; enumeration operation may not execute.

C:\sb\tem_platform\TEM\tem>"c:\Program Files\DepCharter\DepCharter.exe" /r mdlsmc\mdlsmc.sln
Settings.input: c:\sb\tem_platform\tem\tem\mdlsmc\mdlsmc.sln
Project 'mdlsmc'
Project 'mdlbindingtemTypeLib.vcxproj'
Filename: 'c:\sb\tem_platform\tem\tem\mdlbindingtemTypeLib\mdlbindingtemTypeLib.vcxproj'
OutputType: 'DynamicLibrary' (DynamicLibrary)
Project 'StageInterfacesTypeLib.vcxproj'
Filename: 'c:\sb\tem_platform\tem\tem\StageInterfacesTypeLib\StageInterfacesTypeLib.vcxproj'
OutputType: 'DynamicLibrary' (DynamicLibrary)
Project 'MdlSmcTypeLib.vcxproj'
Filename: 'c:\sb\tem_platform\tem\tem\MdlSmcTypeLib\MdlSmcTypeLib.vcxproj'
OutputType: 'DynamicLibrary' (DynamicLibrary)
Filename: 'c:\sb\tem_platform\tem\tem\mdlsmc\mdlsmc.vcxproj'
OutputType: 'DynamicLibrary' (DynamicLibrary)

Unhandled Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
at DepCharter.Solution.read(String aFullname)
at DepCharter.Program.Execute()
at DepCharter.Program.Main(String[] args)

C:\sb\tem_platform\TEM\tem>"c:\Program Files\DepCharter\DepCharter.exe" /r mdlsmc\mdlsmc.sln

Project to project references from C# projects are not shown

a .csproj files can contains native references like:

  <ItemGroup>
    <ProjectReference Include="..\xxx\xxx.vcxproj">
      <Project>{guid}</Project>
      <Private>false</Private>
      <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
      <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
      <LinkLibraryDependencies>false</LinkLibraryDependencies>
      <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
    </ProjectReference>
  </ItemGroup>

implemtent depcharter directory search

  • executing depcharter on a .sln, will find projects in de .sln, and depdendant projects in the refers-entry,
    but how to find other projects that are higher in hierachy, but not listed in the .sln?

C:\sb\motion_main\MOTION\motionProdrive>"c:\Program Files\DepCharter\depcharter.exe" MdlMotionWrapper\src\MdlMotionWrapper.sln /p C:\sb\motion_main\MO
TION\motionProdrive\ProdriveFirmwareUpload\ProdriveFirmwareUpload.vcxproj
Settings.input: c:\sb\motion_main\motion\motionprodrive\mdlmotionwrapper\src\mdlmotionwrapper.sln
Project 'MdlMotionWrapper' RootNamespace: 'projBrick'
Project 'MdlMotionLib' RootNamespace: 'MdlMotionLib'
Project 'MdlMotionWrapperPS' RootNamespace: 'MdlMotionWrapperPS'
Found 4 projects
Found 3 dependencies
Created c:\sb\motion_main\motion\motionprodrive\mdlmotionwrapper\src\dep.txt
project c:\sb\motion_main\motion\motionprodrive\prodrivefirmwareupload\prodrivefirmwareupload.vcxproj not found!
Using dot to create bitmap
Done.

C:\sb\motion_main\MOTION\motionProdrive>\

error when username contains spaces

Using tred to create reduced dot file C:\Users\Jan Wilmans\AppData\Local\Temp\DepCharter\redep.txt
Can't open C:\Users\Jan
Can't open Wilmans\AppData\Local\Temp\DepCharter\dep.txt
Using dot to create bitmap

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.