Git Product home page Git Product logo

corifier's People

Contributors

jgowdy avatar jgowdy-godaddy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rohitjha

corifier's Issues

Improve version number comparison logic

There are a few places where we need to compare version numbers, including .NET Framework version and package version numbers. We need robust and rational version number comparisons.

Detect Git

Detect if the project appears to be under source control and if so, we can skip the backup folder since source control provides a revert path. Should we ensure that the project we are changing doesn't have unchecked in changes?

Example

Hi,

Goals
Milestone #1: Convert .NET Framework v4.6.1+ class libraries to .NET Standard 2.0 class libraries

Milestone #2: Convert .NET Framework v4.6.1+ console applications to .NET Core 2.0 console applications

are both implemented already?

CorifyBackup matches default glob

The files we backup to CorifyBackup/ including CorifyBackup/AssemblyInfo.cs end up matching **/*.cs and thus are compiled in. We need to rename the files .bak or move them to a different folder outside the default glob.

Process package.config

We should blend the import of package.config with the existing .csproj references. Package.config may have a newer package version than is referenced in the .csproj, in which case we should use the newer version. Packages in package.config but aren't in the .csproj references might want to be left out?

Add more showstoppers

We need to detect more of the cases we can't handle and reject the conversion in those cases. For example, legacy web references and service references might be a reason we can't proceed. Detecting certain packages which don't have .NET Core / .NET Standard equivalents like System.Web related packages, etc.

Add support for project references

Currently we don't have any support for project references:

<ProjectReference Include="..\DispatcherSupport\DispatcherSupport.csproj">
  <Project>{83B8BD1A-5BD0-41FD-8538-7C76CCC7AC83}</Project>
  <Name>DispatcherSupport</Name>
</ProjectReference>
<ProjectReference Include="..\Reflection\Reflection.csproj">
  <Project>{65ae554e-0baa-4d39-a9c5-3d4f08b6343e}</Project>
  <Name>Reflection</Name>
</ProjectReference>

Should become:

Source files not in default glob

The default glob of newer csproj files is **/*.cs which doesn't work for source files that aren't in that path. When we import .NET Framework projects, we should detect files not in that path and explicitly name them in the new csproj.

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.